home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1997 April: Mac OS SDK / Dev.CD Apr 97 SDK1.toast / Development Kits (Disc 1) / QuickDraw 3D / Documentation / d e v e l o p / Develop Issue 23 article / Geometry Sample / Headers / Geometries.h < prev    next >
Encoding:
Text File  |  1996-05-21  |  606 b   |  40 lines  |  [TEXT/MPCC]

  1. // Geometries.h
  2.  
  3. #ifndef _GEOMETRIES_H_
  4. #define _GEOMETRIES_H_
  5.  
  6. /*===========================================================================*\
  7.  *
  8.  *    Types
  9.  *
  10. \*===========================================================================*/
  11. typedef struct TextureRec {
  12.     char                fileName[32];
  13.     long                size;
  14.     long                dirty;
  15.     TQ3StoragePixmap    pixmap;
  16.     TQ3ShaderObject        shader;
  17.     long                 on;
  18. } TextureRec;
  19.  
  20.  
  21. enum {
  22.     iMarker = 1,
  23.     iPoint,
  24.     iLine, 
  25.     iPolyline,
  26.     iTriangle,
  27.     iPolygon,
  28.     iGeneralPolygon,
  29.     iTrigrid,
  30.     iBox,
  31.     iMesh,
  32.     iNurbCurve,
  33.     iNurbPatch
  34. } ;
  35.  
  36.  
  37. TQ3GroupObject BuildGeometry( short type )  ;
  38.  
  39.  
  40. #endif